package com.levng.jenkins;

import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

/**
 * @author XieYongjin
 * @description
 * @date 2022年06月14日 10:56
 */
@Profile({"dev", "prod"})
@Component
public class InitBeanDemo implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        System.out.println("==========SMS==============");
    }
}
